package com.baizhi.cmfz.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class User implements Serializable {

	private Integer userId;
	private String userTelphone;
//	指定不序列化的属性
	@JsonIgnore
	private String userPassword;
	private String userImage;
//	用户的昵称
	private String userNickname;
//	用户的真名
	private String userName;

	private String userAutograph;
	private String userProvince;
	private String userCity;
	private Guru guru;
//	用户状态
	private Integer userStatus;
//	用户注册的时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date userCreatDate;
	private Integer guruId;
	private String userSex;



}
